import React from 'react'
import { useRoutes } from 'react-router'
import { routesList } from './router'
const App:React.FC = () => {
  const el=useRoutes(routesList)
  return (
    <div>
      {el}
    </div>
  )
}

export default App